#pragma once

#include "LuaCommon.h"

#if defined(USE_CURL_FALSE)
#include "../core/Curl.h"

class LuaCurl : public Curl
{
public:
	static void Register(lua_State* L);

	// lua callback
	virtual void OnFinish(std::string data);
};

#else
class LuaCurl
{
public:
    static void Register(lua_State* L) {}
};

#endif